package com.ydj.app.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Map;

/**
 * 为什么要搞一个ToWrite 一个 ToRead，
 * 因为EasyExcel有个坑，读取是不能加上注释 Accessors，否则读取出来的全部是null
 */
@Getter
@Setter
@Accessors(chain = true)
public class ForecastResultListExcelDataToWrite {

    // 固定列
    private Integer seq;
    private String createTime;
    private String nickName;
    private String cate;
    private String rate;
    private String contact;

    // 动态列：问题->答案
    private Map<String, String> questionAnswerMap;
}
